import React,{memo} from 'react'

const Input = memo((props) => {
    return (
        <div>
            <input type='text' onKeyUp={props.addItem}/>
        </div>
    )
})

export default Input
